var _EsdDynamicTransformationFunction = function($){
/**
* 命名空间定义
*/
var _EsdDynamicTransformationScript = {};
_EsdDynamicTransformationScript.navBlock = {}; // 定义区域跳转类
_EsdDynamicTransformationScript.navBlock.selector = {};
/**
* 文本链接 a
*/
//保证所有a标签都有href
$("a").each(function(){

var aHref = this.href;
if( aHref=="" || aHref==undefined ){
$(this).attr("href","javascript:void(0)");
}

//给a标签加title
var aTitle = this.title;
var aText = this.text;

if( aTitle=="" || aTitle==undefined ){
if( aText!="" || aText!=undefined ){
$(this).attr("title",$.trim(aText));
}
}

});


//select下的option添加title
$("option").each(function(){
var oTitle = this.title;
var oText = this.text;
if( oTitle=="" || oTitle==undefined ){
if( oText!="" || oText!=undefined ){
$(this).attr("title",$.trim(oText));
}
}
});


$("#textfield").attr("title","请输入关键字搜索");
$("#textfield").attr("placeholder","请输入关键字搜索");
$("#textfield").parent().next().attr("title","搜索");
/**
* 图片处理片段
*/

$('img[src="http://mpa.jl.gov.cn/images/indexwsxf.png"]').attr('title','网上信访').attr('alt','网上信访');$('img[src="http://mpa.jl.gov.cn/wzsy_84824/jlsspyp/images/P020180130345790074614.jpg"]').attr('title','吉林省食品药品综合查询系统').attr('alt','吉林省食品药品综合查询系统');$('img[src="http://mpa.jl.gov.cn/gzfw/kpzs/images/P020180201562429198119.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="../../../images/logo(3).png"]').attr('title','吉林省食品药品监督管理局标志').attr('alt','吉林省食品药品监督管理局标志');$('img[src="http://mpa.jl.gov.cn/wzsy_84824/spypzhywxt/images/P020180130345695940992.jpg"]').attr('title','食品药品综合业务系统').attr('alt','食品药品综合业务系统');$('img[src="http://mpa.jl.gov.cn/zxfw_84842/xwlm/tpxw/201912/W020191217665022552800.png"]').attr('title','吉林省药品监督管理局改革发展纪事').attr('alt','吉林省药品监督管理局改革发展纪事');$('img[src="http://mpa.jl.gov.cn/images/djjg.png"]').attr('title','党政机关标识').attr('alt','党政机关标识');$('img[src="http://mpa.jl.gov.cn/zxfw_84842/xwlm/tpxw/201906/W020190617543972116085.jpg"]').attr('title','吉林省药监局召开检查分局干部转隶大会 开启药品监管新篇章').attr('alt','吉林省药监局召开检查分局干部转隶大会 开启药品监管新篇章');$('img[src="http://mpa.jl.gov.cn/zxfw_84842/xwlm/tpxw/201911/W020191112608025992049.jpg"]').attr('title','国家药监局高研院与省药监局在长春联合举办“两法”宣贯暨药品生产经营企业主体责任培训班').attr('alt','国家药监局高研院与省药监局在长春联合举办“两法”宣贯暨药品生产经营企业主体责任培训班');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/zfxxgkzl/ndbg/images/P020180201606725153357.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/images/gknsjg.jpg"]').attr('title','内设机构').attr('alt','内设机构');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/xzqlgk/images/P020180202325236470815.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/images/gaba.png"]').attr('title','吉公网安备标识').attr('alt','吉公网安备标识');$('img[src="http://mpa.jl.gov.cn/wzsy_84824/szb/201909/W020190919542539422027.png"]').attr('title','吉林药品安全报').attr('alt','吉林药品安全报');$('img[src="http://mpa.jl.gov.cn/images/zuo.png"]').attr('title','向右按钮').attr('alt','向右按钮');$('img[src="http://mpa.jl.gov.cn/syjpc/201907/W020190717600047100068.png"]').attr('title','不忘初心，牢记使命主题教育征求意见').attr('alt','不忘初心，牢记使命主题教育征求意见');$('img[src="http://mpa.jl.gov.cn/images/logo_yp201811132.png"]').attr('title','吉林省药品监督管理局').attr('alt','吉林省药品监督管理局');$('img[src="../../../images/diandian.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/wzsy_84824/spypzhjgpt/images/P020180130345610054436.jpg"]').attr('title','食品药品智慧监管综合信息平台').attr('alt','食品药品智慧监管综合信息平台');$('img[src="http://mpa.jl.gov.cn/images/jiucuo.png"]').attr('title','政府网站找错').attr('alt','政府网站找错');$('img[src="http://mpa.jl.gov.cn/gzfw/wsdc/images/P020180201583449939571.png"]').attr('title','网上调查').attr('alt','网上调查');$('img[src="http://mpa.jl.gov.cn/images/indexwsdc.png"]').attr('title','网上调查').attr('alt','网上调查');$('img[src="http://mpa.jl.gov.cn/bgtp/201801/W020180131571661125168.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/zxfw_84842/xwlm/tpxw/201906/W020190617542136192747.jpg"]').attr('title','省局召开“不忘初心、牢记使命”主题教育工作会').attr('alt','省局召开“不忘初心、牢记使命”主题教育工作会');$('img[src="http://mpa.jl.gov.cn/zxfw_84842/xwlm/tpxw/201909/W020190924570900522826.jpg"]').attr('title','省委第九巡视组巡视省药品监督管理局党组公告').attr('alt','省委第九巡视组巡视省药品监督管理局党组公告');$('img[src="http://mpa.jl.gov.cn/bgtp/201801/W020180131614030185205.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/zfxxgkzl/gkzn/images/P020180201606419445180.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/syjpc/201802/W020181123353658043865.jpg"]').attr('title','公告').attr('alt','公告');$('img[src="http://mpa.jl.gov.cn/bgtp/201801/W020180131613251163989.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/ysjs/images/P020180201607321369664.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/images/you.png"]').attr('title','向左按钮').attr('alt','向左按钮');$('img[src="http://mpa.jl.gov.cn/gzfw/sjcx/yp/ypbzba/images/P020180130717708071129.png"]').attr('title','药品包装备案').attr('alt','药品包装备案');$('img[src="../../../images/infoview/DownButton.gif"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/xzxk_85114/bszn/images/P020180130357146002794.png"]').attr('title','办事指南场景式服务').attr('alt','办事指南场景式服务');$('img[src="http://mpa.jl.gov.cn/syzttp/201803/W020180302498628286089.jpg"]').attr('title','学习贯彻十九大精神，开启吉林党建新征程').attr('alt','学习贯彻十九大精神，开启吉林党建新征程');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/zfxxgkzl/gkml/images/P020180201606552978061.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/gzfw/wsxf/images/P020180201585087401225.png"]').attr('title','网上信访').attr('alt','网上信访');$('img[src="http://mpa.jl.gov.cn/xzxk_85114/spywtz/xzspxmylb/images/P020180130354368567633.png"]').attr('title','行政审批项目一览表').attr('alt','行政审批项目一览表');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/xzcfxx/images/P020180201609587241507.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/gzfw/sjcx/images/P020180201562258684056.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/images/gkjgzn.jpg"]').attr('title','机构职能').attr('alt','机构职能');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/zfxxgkzl/gksq/images/P020180201606907229300.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/images/gkldjj.jpg"]').attr('title','领导简介').attr('alt','领导简介');$('img[src="http://mpa.jl.gov.cn/bgtp/201801/W020180131614277368524.png"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/ldjj/lbf/images/P020181219383681040826.jpg"]').attr('title','刘宝芳图片').attr('alt','刘宝芳图片');$('img[src="http://mpa.jl.gov.cn/gzfw/wx/201506/W020180130510202861230.jpg"]').attr('title','官方微信二维码').attr('alt','官方微信二维码');$('img[src="http://mpa.jl.gov.cn/xxgk_84894/xzqlgk/images/P020180202325236470815.png"]').attr('title','装饰图片').attr('alt','装饰图片');

//img
$("img").each(function(){
//给图片加alt/title
var imgAlt = this.alt,
imgTitle = this.title,
imgSrc = this.src,
parentText = this.parentElement.text;

if(this.alt=="" || this.alt==undefined){
if(imgTitle!="" && imgTitle!=undefined){
$(this).attr("alt",imgTitle);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("alt",parentText);
}
}
if(this.title=="" || this.title==undefined){
if(imgAlt!="" && imgAlt!=undefined){
$(this).attr("title",imgAlt);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("title",parentText);
}
}
})

$("img").each(function(){
if( (this.alt=="" && this.title=="")||(this.alt==undefined && this.title==undefined) ){
$(this).attr("title","图片");
$(this).attr("alt","图片");
}
})
/**
* 共通头部
*/
/**
* 主导航
*/

//第一部分---导航

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num1 = $("#nav>li:eq(1) .navContent ul a").length-1;
_EsdDynamicTransformationScript.num2 = $("#nav>li:eq(2) .navContent ul a").length-1;
_EsdDynamicTransformationScript.num3 = $("#nav>li:eq(3) .navContent ul a").length-1;
_EsdDynamicTransformationScript.num4 = $("#nav>li:eq(4) .navContent ul a").length-1;
_EsdDynamicTransformationScript.num5 = $("#nav>li:eq(5) .navContent ul a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd0TagNum1 = $("#nav>li:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum2 = $("#nav>li:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum3 = $("#nav>li:eq(3) a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum4 = $("#nav>li:eq(4) a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum5 = $("#nav>li:eq(5) a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd0TagNum1Content1 = $("#nav>li:eq(1) .navContent ul a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum2Content1 = $("#nav>li:eq(2) .navContent ul a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum3Content1 = $("#nav>li:eq(3) .navContent ul a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum4Content1 = $("#nav>li:eq(4) .navContent ul a:eq(0)");
_EsdDynamicTransformationScript.esd0TagNum5Content1 = $("#nav>li:eq(5) .navContent ul a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd0TagNum1ContentN = $("#nav>li:eq(1) .navContent ul a:eq("+_EsdDynamicTransformationScript.num1+")");
_EsdDynamicTransformationScript.esd0TagNum2ContentN = $("#nav>li:eq(2) .navContent ul a:eq("+_EsdDynamicTransformationScript.num2+")");
_EsdDynamicTransformationScript.esd0TagNum3ContentN = $("#nav>li:eq(3) .navContent ul a:eq("+_EsdDynamicTransformationScript.num3+")");
_EsdDynamicTransformationScript.esd0TagNum4ContentN = $("#nav>li:eq(4) .navContent ul a:eq("+_EsdDynamicTransformationScript.num4+")");
_EsdDynamicTransformationScript.esd0TagNum5ContentN = $("#nav>li:eq(5) .navContent ul a:eq("+_EsdDynamicTransformationScript.num5+")");

//各个选项名称对应区域（调整display--none/block）
_EsdDynamicTransformationScript.esd0TagNum1Area = $("#nav>li:eq(1) .navContent");
_EsdDynamicTransformationScript.esd0TagNum2Area = $("#nav>li:eq(2) .navContent");
_EsdDynamicTransformationScript.esd0TagNum3Area = $("#nav>li:eq(3) .navContent");
_EsdDynamicTransformationScript.esd0TagNum4Area = $("#nav>li:eq(4) .navContent");
_EsdDynamicTransformationScript.esd0TagNum5Area = $("#nav>li:eq(5) .navContent");



//第一块
_EsdDynamicTransformationScript.esd0TagNum1.focus(function (e) {
_EsdDynamicTransformationScript.esd0TagNum1Area.css({"display":"block"});
//		e = $(this).mouseover();
$(this).bind("keydown.keydown00_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd0TagNum1Area.attr("style","");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd0TagNum1.blur(function () {
$(this).unbind("keydown.keydown00_1");
});

_EsdDynamicTransformationScript.esd0TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown00_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum1.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esd0TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown00_s1");
});

_EsdDynamicTransformationScript.esd0TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown00_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum1Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd0TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown00_e1");
});
//第二块
_EsdDynamicTransformationScript.esd0TagNum2.focus(function (e) {
_EsdDynamicTransformationScript.esd0TagNum2Area.css({"display":"block"});
//		e = $(this).mouseover();
$(this).bind("keydown.keydown00_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum1.mouseover();
_EsdDynamicTransformationScript.esd0TagNum2Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum1Area.css({"display":"block"});

_EsdDynamicTransformationScript.esd0TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd0TagNum2Content1.focus();
$("#nav>li:eq(2) .navContent ul a:eq(0)").focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd0TagNum2.blur(function () {
$(this).unbind("keydown.keydown00_2");
});

_EsdDynamicTransformationScript.esd0TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown00_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum2.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});

_EsdDynamicTransformationScript.esd0TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown00_s2");
});

_EsdDynamicTransformationScript.esd0TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown00_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum2Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd0TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown00_e2");
});

//第三块
_EsdDynamicTransformationScript.esd0TagNum3.focus(function (e) {
_EsdDynamicTransformationScript.esd0TagNum3Area.css({"display":"block"});
//		e = $(this).mouseover();
$(this).bind("keydown.keydown00_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum2.mouseover();
_EsdDynamicTransformationScript.esd0TagNum3Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum2Area.css({"display":"block"});

_EsdDynamicTransformationScript.esd0TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd0TagNum3Content1.focus();
$("#nav>li:eq(3) .navContent ul a:eq(0)").focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd0TagNum3.blur(function () {
$(this).unbind("keydown.keydown00_3");
});

_EsdDynamicTransformationScript.esd0TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown00_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum3.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});

_EsdDynamicTransformationScript.esd0TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown00_s3");
});

_EsdDynamicTransformationScript.esd0TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown00_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum3Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd0TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown00_e3");
});

//第四块
_EsdDynamicTransformationScript.esd0TagNum4.focus(function (e) {
_EsdDynamicTransformationScript.esd0TagNum4Area.css({"display":"block"});
//		e = $(this).mouseover();
$(this).bind("keydown.keydown00_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum3.mouseover();
_EsdDynamicTransformationScript.esd0TagNum4Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum3Area.css({"display":"block"});

_EsdDynamicTransformationScript.esd0TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd0TagNum4Content1.focus();
$("#nav>li:eq(4) .navContent ul a:eq(0)").focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd0TagNum4.blur(function () {
$(this).unbind("keydown.keydown00_4");
});

_EsdDynamicTransformationScript.esd0TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown00_s4", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum4.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});

_EsdDynamicTransformationScript.esd0TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown00_s4");
});

_EsdDynamicTransformationScript.esd0TagNum4ContentN.focus(function () {
$(this).bind("keydown.keydown00_e4", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd0TagNum4Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd0TagNum4ContentN.blur(function () {
$(this).unbind("keydown.keydown00_e4");
});

//第五块
_EsdDynamicTransformationScript.esd0TagNum5.focus(function (e) {
_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
//		e = $(this).mouseover();
$(this).bind("keydown.keydown00_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum4.mouseover();
_EsdDynamicTransformationScript.esd0TagNum5Area.attr("style","");
_EsdDynamicTransformationScript.esd0TagNum4Area.css({"display":"block"});

_EsdDynamicTransformationScript.esd0TagNum4ContentN.focus();
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
//ie测试有问题。用选择器写
_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd0TagNum5.blur(function () {
$(this).unbind("keydown.keydown00_5");
});

_EsdDynamicTransformationScript.esd0TagNum5Content1.focus(function () {
$(this).bind("keydown.keydown00_e5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd0TagNum5.focus();
return false;
}else if (e.keyCode == 9) {
//				$(this).unbind("keydown.keydown00_e5");
_EsdDynamicTransformationScript.esd0TagNum5Area.attr("style","");

if( $(".page_slide .cyclyImg_pager span:eq(0)").length != 0 ){
$(".page_slide .cyclyImg_pager span:eq(0)").click();
$("#Projector .picplay .picbox:eq(0) a:eq(0)").focus();
return false;
}

if( $(".breadDiv a:eq(0)").length != 0 ){
$(".breadDiv a:eq(0)").focus();
return false;
}


}
});
});
_EsdDynamicTransformationScript.esd0TagNum5Content1.blur(function () {
$(this).unbind("keydown.keydown00_e5");
});






/**
* 网站所有幻灯片
*/


if(location.href=="http://mpa.jl.gov.cn/" || location.href=="http://mpa.jl.gov.cn/index.html"){
//首页


var part_First = function(){
//轮播,右下角原点--鼠标点击触发情况

//轮播：只获取轮播中一个a标签。
//以文字a标签为主，图片a标签尽量不要，title不稳定


//文字A标签
_EsdDynamicTransformationScript.esdTagANum1 = $("#Projector .picplay .picbox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esdTagANum2 = $("#Projector .picplay .picbox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esdTagANum3 = $("#Projector .picplay .picbox:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esdTagANum4 = $("#Projector .picplay .picbox:eq(3) a:eq(0)");
_EsdDynamicTransformationScript.esdTagANum5 = $("#Projector .picplay .picbox:eq(4) a:eq(0)");

//原点
_EsdDynamicTransformationScript.esdTagCircleNum1 = $(".page_slide .cyclyImg_pager span:eq(0)");
_EsdDynamicTransformationScript.esdTagCircleNum2 = $(".page_slide .cyclyImg_pager span:eq(1)");
_EsdDynamicTransformationScript.esdTagCircleNum3 = $(".page_slide .cyclyImg_pager span:eq(2)");
_EsdDynamicTransformationScript.esdTagCircleNum4 = $(".page_slide .cyclyImg_pager span:eq(3)");
_EsdDynamicTransformationScript.esdTagCircleNum5 = $(".page_slide .cyclyImg_pager span:eq(4)");

//轮播后的标签
_EsdDynamicTransformationScript.esdTagAfterNum1 = $(".page_slide .cyclyImg_pager").next();

//轮播前的焦点
//		_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
//			$(this).bind("keydown.keydown_0", function (e) {
//				if(e.shiftKey&&e.keyCode==9){
//
//				}else if (e.keyCode == 9) {
//					_EsdDynamicTransformationScript.esdTagCircleNum1.click();
//					_EsdDynamicTransformationScript.esdTagANum1.focus();
//					return false;
//				}
//			});
//		});
//		_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
//			$(this).unbind("keydown.keydown_0");
//		});



//第一块
_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
$("#nav>li:eq(5) .navContent .clearfix li:last a").focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

//第二块
_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第三块
_EsdDynamicTransformationScript.esdTagANum3.focus(function (e) {
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

//第四块
_EsdDynamicTransformationScript.esdTagANum4.focus(function (e) {
$(this).bind("keydown.keydown_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum4.blur(function () {
$(this).unbind("keydown.keydown_4");
});

//第五块
_EsdDynamicTransformationScript.esdTagANum5.focus(function (e) {
$(this).bind("keydown.keydown_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum5.blur(function () {
$(this).unbind("keydown.keydown_5");
});

//轮播后的焦点，更多
_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
$(this).bind("keydown.keydown_6", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
return false;
}else if (e.keyCode == 9) {
$(".conFlour1 .gndt .title1 ul li:eq(0) a").mouseover();
$(".conFlour1 .gndt .title1 ul li:eq(0) a").focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
$(this).unbind("keydown.keydown_6");
});

}

}





/**
* 二级页
*/

// -------------------------------二级页------------------------------------

if(location.href=="http://mpa.jl.gov.cn/zxfw_84842/"){
//二级页(导航---资讯服务)

//	//导航后的第一个a
//	_EsdDynamicTransformationScript.esd0TagName0 = $(".breadDiv a:eq(0)");
//
//	//导航后第一个a
//	_EsdDynamicTransformationScript.esd0TagName0.focus(function (e) {
//		$(this).bind("keydown.keydown0_1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
//				_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd0TagName0.blur(function () {
//		$(this).unbind("keydown.keydown0_1");
//	});

_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ($(".servicePic .servicePicMain .cyclyImg_pager span:eq(4)")[0] != undefined
&& ($("#Projector .picplay>.picbox:eq(4) a:eq(0)")[0] != undefined) ){
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
//轮播

//轮播前的标签
_EsdDynamicTransformationScript.esd1TagAfterNum1 = $(".serviceLeft .servicePic a:eq(0)");

//文字A标签
_EsdDynamicTransformationScript.esd1TagANum1 = $("#Projector .picplay>.picbox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd1TagANum2 = $("#Projector .picplay>.picbox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd1TagANum3 = $("#Projector .picplay>.picbox:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd1TagANum4 = $("#Projector .picplay>.picbox:eq(3) a:eq(0)");
_EsdDynamicTransformationScript.esd1TagANum5 = $("#Projector .picplay>.picbox:eq(4) a:eq(0)");

//原点
_EsdDynamicTransformationScript.esd1TagCircleNum1 = $(".servicePic .servicePicMain .cyclyImg_pager span:eq(0)");
_EsdDynamicTransformationScript.esd1TagCircleNum2 = $(".servicePic .servicePicMain .cyclyImg_pager span:eq(1)");
_EsdDynamicTransformationScript.esd1TagCircleNum3 = $(".servicePic .servicePicMain .cyclyImg_pager span:eq(2)");
_EsdDynamicTransformationScript.esd1TagCircleNum4 = $(".servicePic .servicePicMain .cyclyImg_pager span:eq(3)");
_EsdDynamicTransformationScript.esd1TagCircleNum5 = $(".servicePic .servicePicMain .cyclyImg_pager span:eq(4)");

//轮播后的标签
_EsdDynamicTransformationScript.esd1TagNextNum1 = $(".fouceNews a:eq(0)");


//轮播前的焦点
_EsdDynamicTransformationScript.esd1TagAfterNum1.focus(function (e) {
$(this).bind("keydown.keydown1_0", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagCircleNum1.click();
_EsdDynamicTransformationScript.esd1TagANum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd1TagAfterNum1.blur(function () {
$(this).unbind("keydown.keydown1_0");
});

//第一块
_EsdDynamicTransformationScript.esd1TagANum1.focus(function (e) {
$(this).bind("keydown.keydown1_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagAfterNum1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagCircleNum2.click();
_EsdDynamicTransformationScript.esd1TagANum2.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagANum1.blur(function () {
$(this).unbind("keydown.keydown1_1");
});

//第二块
_EsdDynamicTransformationScript.esd1TagANum2.focus(function (e) {
$(this).bind("keydown.keydown1_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagCircleNum1.click();
_EsdDynamicTransformationScript.esd1TagANum1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagCircleNum3.click();
_EsdDynamicTransformationScript.esd1TagANum3.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagANum2.blur(function () {
$(this).unbind("keydown.keydown1_2");
});

//第三块
_EsdDynamicTransformationScript.esd1TagANum3.focus(function (e) {
$(this).bind("keydown.keydown1_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagCircleNum2.click();
_EsdDynamicTransformationScript.esd1TagANum2.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagCircleNum4.click();
_EsdDynamicTransformationScript.esd1TagANum4.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagANum3.blur(function () {
$(this).unbind("keydown.keydown1_3");
});

//第四块
_EsdDynamicTransformationScript.esd1TagANum4.focus(function (e) {
$(this).bind("keydown.keydown1_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagCircleNum3.click();
_EsdDynamicTransformationScript.esd1TagANum3.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagCircleNum5.click();
_EsdDynamicTransformationScript.esd1TagANum5.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagANum4.blur(function () {
$(this).unbind("keydown.keydown1_4");
});

//第五块
_EsdDynamicTransformationScript.esd1TagANum5.focus(function (e) {
$(this).bind("keydown.keydown1_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagCircleNum4.click();
_EsdDynamicTransformationScript.esd1TagANum4.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNextNum1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagANum5.blur(function () {
$(this).unbind("keydown.keydown1_5");
});

//轮播后的焦点
_EsdDynamicTransformationScript.esd1TagNextNum1.focus(function (e) {

$(this).bind("keydown.keydown1_6", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagCircleNum5.click();
_EsdDynamicTransformationScript.esd1TagANum5.focus();
return false;
}else if (e.keyCode == 9) {

}
});

});
_EsdDynamicTransformationScript.esd1TagNextNum1.blur(function () {
$(this).unbind("keydown.keydown1_6");
});

}
}, 500);
//三级选项卡

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num6 = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(0) a").length-1;
_EsdDynamicTransformationScript.num7 = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(1) a").length-1;
_EsdDynamicTransformationScript.num8 = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(2) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $(".serviceRight .serviceBox1:eq(0) .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd2TagNum2 = $(".serviceRight .serviceBox1:eq(0) .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd2TagNum3 = $(".serviceRight .serviceBox1:eq(0) .title ul li:eq(2) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum3Content1 = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(2) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(0) a:eq("+_EsdDynamicTransformationScript.num6+")");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(1) a:eq("+_EsdDynamicTransformationScript.num7+")");
_EsdDynamicTransformationScript.esd2TagNum3ContentN = $(".serviceRight .serviceBox1:eq(0)>.tabBox:eq(2) a:eq("+_EsdDynamicTransformationScript.num8+")");

//第一块
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown2_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
$(this).unbind("keydown.keydown2_1");
});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown2_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown2_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown2_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown2_e1");
});
//第二块
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown2_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
$(this).unbind("keydown.keydown2_2");
});

_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown2_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown2_s2");
});

_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown2_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown2_e2");
});

//第三块
_EsdDynamicTransformationScript.esd2TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown2_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum3Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum3.blur(function () {
$(this).unbind("keydown.keydown2_3");
});



//四级选项卡,突然变成七级选项卡，但是头三个是空的，不知道什么情况，再看看

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num11 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(0) a").length-1;
_EsdDynamicTransformationScript.num12 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(1) a").length-1;
_EsdDynamicTransformationScript.num13 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(2) a").length-1;
_EsdDynamicTransformationScript.num14 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(3) a").length-1;
_EsdDynamicTransformationScript.num15 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(4) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $(".serviceRight .serviceBox1:eq(1) .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd3TagNum2 = $(".serviceRight .serviceBox1:eq(1) .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd3TagNum3 = $(".serviceRight .serviceBox1:eq(1) .title ul li:eq(2) a");
_EsdDynamicTransformationScript.esd3TagNum4 = $(".serviceRight .serviceBox1:eq(1) .title ul li:eq(3) a");
_EsdDynamicTransformationScript.esd3TagNum5 = $(".serviceRight .serviceBox1:eq(1) .title ul li:eq(4) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum4Content1 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(3) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum5Content1 = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(4) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(0) a:eq("+_EsdDynamicTransformationScript.num11+")");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(1) a:eq("+_EsdDynamicTransformationScript.num12+")");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(2) a:eq("+_EsdDynamicTransformationScript.num13+")");
_EsdDynamicTransformationScript.esd3TagNum4ContentN = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(3) a:eq("+_EsdDynamicTransformationScript.num14+")");
_EsdDynamicTransformationScript.esd3TagNum5ContentN = $(".serviceRight .serviceBox1:eq(1)>.tabBox:eq(4) a:eq("+_EsdDynamicTransformationScript.num15+")");

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown3_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
$(this).unbind("keydown.keydown3_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown3_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown3_s1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown3_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e1");
});
//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
$(this).unbind("keydown.keydown3_2");
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown3_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown3_s2");
});

_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown3_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e2");
});

//第三块
_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
$(this).unbind("keydown.keydown3_3");
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown3_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown3_s3");
});

_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown3_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e3");
});

//第四块
_EsdDynamicTransformationScript.esd3TagNum4.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown3_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum3.mouseover();
_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum4.blur(function () {
$(this).unbind("keydown.keydown3_4");
});

_EsdDynamicTransformationScript.esd3TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown3_s4", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown3_s4");
});

_EsdDynamicTransformationScript.esd3TagNum4ContentN.focus(function () {
$(this).bind("keydown.keydown3_e4", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum4ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e4");
});

//第五块
_EsdDynamicTransformationScript.esd3TagNum5.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown3_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum4.mouseover();
_EsdDynamicTransformationScript.esd3TagNum4ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum5Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum5.blur(function () {
$(this).unbind("keydown.keydown3_5");
});





}

if(location.href=="http://mpa.jl.gov.cn/xxgk_84894/"){
//二级页(导航---信息公开)


//	//导航后的第一个a
//	_EsdDynamicTransformationScript.esd0TagName0 = $(".breadDiv a:eq(0)");
//
//	//导航后第一个a
//	_EsdDynamicTransformationScript.esd0TagName0.focus(function (e) {
//		$(this).bind("keydown.keydown0_1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
//				_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd0TagName0.blur(function () {
//		$(this).unbind("keydown.keydown0_1");
//	});


//五级选项卡


_EsdDynamicTransformationScript.num6 =  $(".gz_page_right .gz_xsxx>.tabBox:eq(0) a").length-1;
_EsdDynamicTransformationScript.num7 =  $(".gz_page_right .gz_xsxx>.tabBox:eq(1) a").length-1;
_EsdDynamicTransformationScript.num8 =  $(".gz_page_right .gz_xsxx>.tabBox:eq(2) a").length-1;
_EsdDynamicTransformationScript.num9 =  $(".gz_page_right .gz_xsxx>.tabBox:eq(3) a").length-1;
_EsdDynamicTransformationScript.num10 = $(".gz_page_right .gz_xsxx>.tabBox:eq(4) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $(".gz_page_right .gz_xsxx .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd3TagNum2 = $(".gz_page_right .gz_xsxx .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd3TagNum3 = $(".gz_page_right .gz_xsxx .title ul li:eq(2) a");
_EsdDynamicTransformationScript.esd3TagNum4 = $(".gz_page_right .gz_xsxx .title ul li:eq(3) a");
_EsdDynamicTransformationScript.esd3TagNum5 = $(".gz_page_right .gz_xsxx .title ul li:eq(4) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".gz_page_right .gz_xsxx>.tabBox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".gz_page_right .gz_xsxx>.tabBox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".gz_page_right .gz_xsxx>.tabBox:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum4Content1 = $(".gz_page_right .gz_xsxx>.tabBox:eq(3) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum5Content1 = $(".gz_page_right .gz_xsxx>.tabBox:eq(4) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".gz_page_right .gz_xsxx>.tabBox:eq(0) a:eq("+_EsdDynamicTransformationScript.num6+") ");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".gz_page_right .gz_xsxx>.tabBox:eq(1) a:eq("+_EsdDynamicTransformationScript.num7+") ");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".gz_page_right .gz_xsxx>.tabBox:eq(2) a:eq("+_EsdDynamicTransformationScript.num8+") ");
_EsdDynamicTransformationScript.esd3TagNum4ContentN = $(".gz_page_right .gz_xsxx>.tabBox:eq(3) a:eq("+_EsdDynamicTransformationScript.num9+") ");
_EsdDynamicTransformationScript.esd3TagNum5ContentN = $(".gz_page_right .gz_xsxx>.tabBox:eq(4) a:eq("+_EsdDynamicTransformationScript.num10+")");

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown3_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
$(this).unbind("keydown.keydown3_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown3_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown3_s1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown3_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e1");
});
//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
$(this).unbind("keydown.keydown3_2");
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown3_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown3_s2");
});

_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown3_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e2");
});

//第三块
_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
$(this).unbind("keydown.keydown3_3");
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown3_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown3_s3");
});

_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown3_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e3");
});

//第四块
_EsdDynamicTransformationScript.esd3TagNum4.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum3.mouseover();
_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum4.blur(function () {
$(this).unbind("keydown.keydown3_4");
});

_EsdDynamicTransformationScript.esd3TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown3_s4", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown3_s4");
});

_EsdDynamicTransformationScript.esd3TagNum4ContentN.focus(function () {
$(this).bind("keydown.keydown3_e4", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum4ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e4");
});

//第五块
_EsdDynamicTransformationScript.esd3TagNum5.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum4.mouseover();
_EsdDynamicTransformationScript.esd3TagNum4ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum5Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum5.blur(function () {
$(this).unbind("keydown.keydown3_5");
});


}

if(location.href=="http://mpa.jl.gov.cn/gzfw/"){
//二级页(导航---公众服务)


//	//导航后的第一个a
//	_EsdDynamicTransformationScript.esd0TagName0 = $(".breadDiv a:eq(0)");
//
//
//	//导航后第一个a
//	_EsdDynamicTransformationScript.esd0TagName0.focus(function (e) {
//		$(this).bind("keydown.keydown0_1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
//				_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd0TagName0.blur(function () {
//		$(this).unbind("keydown.keydown0_1");
//	});


//三级选项卡

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num6 = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(0) a").length-1;
_EsdDynamicTransformationScript.num7 = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(1) a").length-1;
_EsdDynamicTransformationScript.num8 = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(2) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $(".gz_page .gz_page_right .gz_xsxx:eq(0) .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd2TagNum2 = $(".gz_page .gz_page_right .gz_xsxx:eq(0) .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd2TagNum3 = $(".gz_page .gz_page_right .gz_xsxx:eq(0) .title ul li:eq(2) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum3Content1 = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(2) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(0) a:eq("+_EsdDynamicTransformationScript.num6+")");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(1) a:eq("+_EsdDynamicTransformationScript.num7+")");
_EsdDynamicTransformationScript.esd2TagNum3ContentN = $(".gz_page .gz_page_right .gz_xsxx:eq(0)>.tabBox:eq(2) a:eq("+_EsdDynamicTransformationScript.num8+")");

//第一块
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown2_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
$(this).unbind("keydown.keydown2_1");
});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown2_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown2_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown2_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown2_e1");
});
//第二块
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown2_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
$(this).unbind("keydown.keydown2_2");
});

_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown2_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown2_s2");
});

_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown2_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown2_e2");
});

//第三块
_EsdDynamicTransformationScript.esd2TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown2_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum3Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum3.blur(function () {
$(this).unbind("keydown.keydown2_3");
});


}

if(location.href=="http://mpa.jl.gov.cn/xzxk_85114/"){
//二级页(导航---行政许可)


//	//导航后的第一个a
//	_EsdDynamicTransformationScript.esd0TagName0 = $(".breadDiv a:eq(0)");
//
//	//导航后第一个a
//	_EsdDynamicTransformationScript.esd0TagName0.focus(function (e) {
//		$(this).bind("keydown.keydown0_1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
//				_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd0TagName0.blur(function () {
//		$(this).unbind("keydown.keydown0_1");
//	});



//四级选项卡--网上办事大厅
//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num6 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(0) a").length-1;
_EsdDynamicTransformationScript.num7 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(1) a").length-1;
_EsdDynamicTransformationScript.num8 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(2) a").length-1;
_EsdDynamicTransformationScript.num9 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(3) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $(".serviceLeft .wsbsdt .wsbsdtBox .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd3TagNum2 = $(".serviceLeft .wsbsdt .wsbsdtBox .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd3TagNum3 = $(".serviceLeft .wsbsdt .wsbsdtBox .title ul li:eq(2) a");
_EsdDynamicTransformationScript.esd3TagNum4 = $(".serviceLeft .wsbsdt .wsbsdtBox .title ul li:eq(3) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum4Content1 = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(3) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(0) a:eq("+_EsdDynamicTransformationScript.num6+")");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(1) a:eq("+_EsdDynamicTransformationScript.num7+")");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(2) a:eq("+_EsdDynamicTransformationScript.num8+")");
_EsdDynamicTransformationScript.esd3TagNum4ContentN = $(".serviceLeft .wsbsdt .wsbsdtBox>.tabBoxList:eq(3) a:eq("+_EsdDynamicTransformationScript.num9+")");

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown3_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
$(this).unbind("keydown.keydown3_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown3_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown3_s1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown3_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e1");
});
//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
$(this).bind("keydown.keydown3_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
$(this).unbind("keydown.keydown3_2");
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown3_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown3_s2");
});

_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown3_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.mouseover();
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e2");
});

//第三块
_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
$(this).bind("keydown.keydown3_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
$(this).unbind("keydown.keydown3_3");
});

_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown3_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown3_s3");
});

_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown3_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4.mouseover();
_EsdDynamicTransformationScript.esd3TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown3_e3");
});

//第四块
_EsdDynamicTransformationScript.esd3TagNum4.focus(function (e) {
$(this).bind("keydown.keydown3_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum3.mouseover();
_EsdDynamicTransformationScript.esd3TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum4.blur(function () {
$(this).unbind("keydown.keydown3_4");
});

_EsdDynamicTransformationScript.esd3TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown3_s4", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown3_s4");
});

//四级选项卡--行政许可事项申办须知

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num10 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(0) a").length-1;
_EsdDynamicTransformationScript.num11 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(1) a").length-1;
_EsdDynamicTransformationScript.num12 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(2) a").length-1;
_EsdDynamicTransformationScript.num13 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(3) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd4TagNum1 = $(".serviceRight>.serviceBox1:eq(0) .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd4TagNum2 = $(".serviceRight>.serviceBox1:eq(0) .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd4TagNum3 = $(".serviceRight>.serviceBox1:eq(0) .title ul li:eq(2) a");
_EsdDynamicTransformationScript.esd4TagNum4 = $(".serviceRight>.serviceBox1:eq(0) .title ul li:eq(3) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum3Content1 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum4Content1 = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(3) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(0) a:eq("+_EsdDynamicTransformationScript.num10+")");
_EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(1) a:eq("+_EsdDynamicTransformationScript.num11+")");
_EsdDynamicTransformationScript.esd4TagNum3ContentN = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(2) a:eq("+_EsdDynamicTransformationScript.num12+")");
_EsdDynamicTransformationScript.esd4TagNum4ContentN = $(".serviceRight>.serviceBox1:eq(0)>.tabBox:eq(3) a:eq("+_EsdDynamicTransformationScript.num13+")");

//第一块
_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown4_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
$(this).unbind("keydown.keydown4_1");
});

_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown4_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown4_s1");
});

_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown4_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown4_e1");
});
//第二块
_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
$(this).bind("keydown.keydown4_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
$(this).unbind("keydown.keydown4_2");
});

_EsdDynamicTransformationScript.esd4TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown4_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown4_s2");
});

_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown4_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.mouseover();
_EsdDynamicTransformationScript.esd4TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown4_e2");
});

//第三块
_EsdDynamicTransformationScript.esd4TagNum3.focus(function (e) {
$(this).bind("keydown.keydown4_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3.blur(function () {
$(this).unbind("keydown.keydown4_3");
});

_EsdDynamicTransformationScript.esd4TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown4_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown4_s3");
});

_EsdDynamicTransformationScript.esd4TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown4_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4.mouseover();
_EsdDynamicTransformationScript.esd4TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown4_e3");
});


//第四块
_EsdDynamicTransformationScript.esd4TagNum4.focus(function (e) {
$(this).bind("keydown.keydown4_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum3.mouseover();
_EsdDynamicTransformationScript.esd4TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum4.blur(function () {
$(this).unbind("keydown.keydown4_4");
});

//四级选项卡--软件及表格下载

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num14 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(0) a").length-1;
_EsdDynamicTransformationScript.num15 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(1) a").length-1;
_EsdDynamicTransformationScript.num16 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(2) a").length-1;
_EsdDynamicTransformationScript.num17 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(3) a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd5TagNum1 = $(".serviceRight>.serviceBox1:eq(1) .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd5TagNum2 = $(".serviceRight>.serviceBox1:eq(1) .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd5TagNum3 = $(".serviceRight>.serviceBox1:eq(1) .title ul li:eq(2) a");
_EsdDynamicTransformationScript.esd5TagNum4 = $(".serviceRight>.serviceBox1:eq(1) .title ul li:eq(3) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd5TagNum1Content1 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum2Content1 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum3Content1 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum4Content1 = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(3) a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd5TagNum1ContentN = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(0) a:eq("+_EsdDynamicTransformationScript.num14+")");
_EsdDynamicTransformationScript.esd5TagNum2ContentN = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(1) a:eq("+_EsdDynamicTransformationScript.num15+")");
_EsdDynamicTransformationScript.esd5TagNum3ContentN = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(2) a:eq("+_EsdDynamicTransformationScript.num16+")");
_EsdDynamicTransformationScript.esd5TagNum4ContentN = $(".serviceRight>.serviceBox1:eq(1)>.tabBox:eq(3) a:eq("+_EsdDynamicTransformationScript.num17+")");

//第一块
_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown5_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {
$(this).unbind("keydown.keydown5_1");
});

_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown5_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown5_s1");
});

_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown5_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.mouseover();
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown5_e1");
});
//第二块
_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
$(this).bind("keydown.keydown5_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
$(this).unbind("keydown.keydown5_2");
});

_EsdDynamicTransformationScript.esd5TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown5_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown5_s2");
});

_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown5_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum3.mouseover();
_EsdDynamicTransformationScript.esd5TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown5_e2");
});

//第三块
_EsdDynamicTransformationScript.esd5TagNum3.focus(function (e) {
$(this).bind("keydown.keydown5_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum2.mouseover();
_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum3.blur(function () {
$(this).unbind("keydown.keydown5_3");
});

_EsdDynamicTransformationScript.esd5TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown5_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown5_s3");
});

_EsdDynamicTransformationScript.esd5TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown5_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum4.mouseover();
_EsdDynamicTransformationScript.esd5TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown5_e3");
});


//第四块
_EsdDynamicTransformationScript.esd5TagNum4.focus(function (e) {
$(this).bind("keydown.keydown5_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum3.mouseover();
_EsdDynamicTransformationScript.esd5TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum4.blur(function () {
$(this).unbind("keydown.keydown5_4");
});

}


if(location.href=="http://mpa.jl.gov.cn/ztzl_85150/"){
//导航的其它二级页

//	//导航后的第一个a
//	_EsdDynamicTransformationScript.esd0TagName0 = $(".breadDiv a:eq(0)");
//
//	//导航后第一个a
//	_EsdDynamicTransformationScript.esd0TagName0.focus(function (e) {
//		$(this).bind("keydown.keydown0_1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd0TagNum5Area.css({"display":"block"});
//				_EsdDynamicTransformationScript.esd0TagNum5Content1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd0TagName0.blur(function () {
//		$(this).unbind("keydown.keydown0_1");
//	});

}


if(location.href=="http://mpa.jl.gov.cn/gzfw/jzxx2/wyxx/"){
//局长信箱，我要写信
_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ( ( $("#frmData input:eq(5)")[0] != undefined ) && ( $("#ResetButton")[0] != undefined ) ) {
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);

$("#frmData select:first").attr({title:"收件人"});
$("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
$("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
$("#frmData input:eq(2)").attr({placeholder:"电子邮箱",title:"电子邮箱"});
$("#frmData input:eq(3)").attr({placeholder:"邮政编码",title:"邮政编码"});
$("#frmData input:eq(4)").attr({placeholder:"联系地址",title:"联系地址"});
$("#frmData input:eq(5)").attr({placeholder:"标题",title:"标题"});

$("#frmData textarea").attr({placeholder:"留言内容",title:"留言内容"});

$("#SubmitButton").attr("title","提交");
$("#ResetButton").attr("title","重置");

}
}, 500);

}

if(location.href=="http://mpa.jl.gov.cn/gzfw/jzxx2/xjhf/"){
//局长信箱，信件回复
$("#form1 input:eq(0)").attr({placeholder:"请输入信件编号搜索",title:"请输入信件编号搜索"});
$("#form1 input:eq(1)").attr({placeholder:"查找",title:"查找"});
}

if(location.href=="http://mpa.jl.gov.cn/gzfw/gzly/wyly1/"){
//公众留言，我要留言
$("#frmData input:eq(0)").attr({placeholder:"留言标题",title:"留言标题"});
$("#frmData input:eq(1)").attr({placeholder:"真实姓名",title:"真实姓名"});
$("#frmData input:eq(2)").attr({placeholder:"电子邮箱",title:"电子邮箱"});
$("#frmData input:eq(3)").attr({placeholder:"联系电话",title:"联系电话"});

$("#frmData textarea").attr({placeholder:"留言内容",title:"留言内容"});

$("#SubmitButton").attr("title","提交");
$("#ResetButton").attr("title","重置");

}




/**
* 主页js
*/


if(location.href=="http://mpa.jl.gov.cn/" || location.href=="http://mpa.jl.gov.cn/index.html"){
//首页


// 总计时器，保证目标加载完毕再执行js（轮播+国内动态+国务院[iframe]）
_EsdDynamicTransformationScript.intervalMpa = setInterval(function(){

if( ( $("#Projector .picplay .picbox:eq(4) a:eq(0)") != undefined )
&& ( $(".conFlour1 .gndt .tabBoxList:eq(2) ul li:eq(0) a") != undefined )
&& ( $("#provinceBox a:last") != undefined )  ){
clearInterval(_EsdDynamicTransformationScript.intervalMpa);

part_First();
part_Second();
part_Third();

}

}, 500);



var part_Second = function(){
//第二部分


//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num6 = $(".conFlour1 .gndt .tabBoxList:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num7 = $(".conFlour1 .gndt .tabBoxList:eq(1) ul li").length-1;
_EsdDynamicTransformationScript.num8 = $(".conFlour1 .gndt .tabBoxList:eq(2) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esdTagNum1 = $(".conFlour1 .gndt .title1 ul li:eq(0) a");
_EsdDynamicTransformationScript.esdTagNum2 = $(".conFlour1 .gndt .title1 ul li:eq(1) a");
_EsdDynamicTransformationScript.esdTagNum3 = $(".conFlour1 .gndt .title1 ul li:eq(2) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esdTagNum1Content1 = $(".conFlour1 .gndt .tabBoxList:eq(0) ul li:eq(0) a");
_EsdDynamicTransformationScript.esdTagNum2Content1 = $(".conFlour1 .gndt .tabBoxList:eq(1) ul li:eq(0) a");
_EsdDynamicTransformationScript.esdTagNum3Content1 = $(".conFlour1 .gndt .tabBoxList:eq(2) ul li:eq(0) a");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esdTagNum1ContentN = $(".conFlour1 .gndt .tabBoxList:eq(0) ul li:eq("+_EsdDynamicTransformationScript.num6+") a");
_EsdDynamicTransformationScript.esdTagNum2ContentN = $(".conFlour1 .gndt .tabBoxList:eq(1) ul li:eq("+_EsdDynamicTransformationScript.num7+") a");
_EsdDynamicTransformationScript.esdTagNum3ContentN = $(".conFlour1 .gndt .tabBoxList:eq(2) ul li:eq("+_EsdDynamicTransformationScript.num8+") a");

//第一块
_EsdDynamicTransformationScript.esdTagNum1.focus(function (e) {
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagNum1Content1.focus();
//ie测试有问题。用选择器写
$(".conFlour1 .gndt .tabBoxList:eq(0) ul li:eq(0) a").focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esdTagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagNum1.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esdTagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esdTagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagNum2.mouseover();
_EsdDynamicTransformationScript.esdTagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esdTagNum2.focus(function (e) {
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagNum1.mouseover();
_EsdDynamicTransformationScript.esdTagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esdTagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esdTagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagNum3.mouseover();
_EsdDynamicTransformationScript.esdTagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esdTagNum3.focus(function (e) {
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagNum2.mouseover();
_EsdDynamicTransformationScript.esdTagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagNum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

}

//第三部分
//二层

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num10 = $(".conFlour3 .tzwj .tabBoxList:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num11 = $(".conFlour3 .tzwj .tabBoxList:eq(1) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $(".conFlour3 .tzwj .title2 ul li:eq(0) a");
_EsdDynamicTransformationScript.esd2TagNum2 = $(".conFlour3 .tzwj .title2 ul li:eq(1) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".conFlour3 .tzwj .tabBoxList:eq(0) ul li:eq(0) a");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".conFlour3 .tzwj .tabBoxList:eq(1) ul li:eq(0) a");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".conFlour3 .tzwj .tabBoxList:eq(0) ul li:eq("+_EsdDynamicTransformationScript.num10+") a");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".conFlour3 .tzwj .tabBoxList:eq(1) ul li:eq("+_EsdDynamicTransformationScript.num11+") a");

//第一块
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第四部分


//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num12 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(0) ul li").length-1;
_EsdDynamicTransformationScript.num13 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(1) ul li").length-1;
_EsdDynamicTransformationScript.num14 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(2) ul li").length-1;
_EsdDynamicTransformationScript.num15 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(3) ul li").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd4TagNum1 = $(".conFlour6 .conFlour6R .wsbsdtBox .title ul li:eq(0) a");
_EsdDynamicTransformationScript.esd4TagNum2 = $(".conFlour6 .conFlour6R .wsbsdtBox .title ul li:eq(1) a");
_EsdDynamicTransformationScript.esd4TagNum3 = $(".conFlour6 .conFlour6R .wsbsdtBox .title ul li:eq(2) a");
_EsdDynamicTransformationScript.esd4TagNum4 = $(".conFlour6 .conFlour6R .wsbsdtBox .title ul li:eq(3) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(0) ul li:eq(0) a");
_EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(1) ul li:eq(0) a");
_EsdDynamicTransformationScript.esd4TagNum3Content1 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(2) ul li:eq(0) a");
_EsdDynamicTransformationScript.esd4TagNum4Content1 = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(3) ul li:eq(0) a");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(0) ul li:eq("+_EsdDynamicTransformationScript.num12+") a");
_EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(1) ul li:eq("+_EsdDynamicTransformationScript.num13+") a");
_EsdDynamicTransformationScript.esd4TagNum3ContentN = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(2) ul li:eq("+_EsdDynamicTransformationScript.num14+") a");
_EsdDynamicTransformationScript.esd4TagNum4ContentN = $(".conFlour6 .conFlour6R .wsbsdtBox .tabBoxList:eq(3) ul li:eq("+_EsdDynamicTransformationScript.num15+") a");

//第一块
_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd4TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.mouseover();
_EsdDynamicTransformationScript.esd4TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd4TagNum3.focus(function (e) {
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

_EsdDynamicTransformationScript.esd4TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown_s3");
});

_EsdDynamicTransformationScript.esd4TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4.mouseover();
_EsdDynamicTransformationScript.esd4TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown_e3");
});

//第四块
_EsdDynamicTransformationScript.esd4TagNum4.focus(function (e) {
$(this).bind("keydown.keydown_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum3.mouseover();
_EsdDynamicTransformationScript.esd4TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum4.blur(function () {
$(this).unbind("keydown.keydown_4");
});




var part_Third = function(){

//第五部分---国务院

//各个选项名称
_EsdDynamicTransformationScript.esd5TagNum1 = $(".conFlour3 .zyzcxx .title3 .title4 li:eq(0) a");
_EsdDynamicTransformationScript.esd5TagNum2 = $(".conFlour3 .zyzcxx .title3 .title4 li:eq(1) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd5TagNum1Content1 = $("#countryBox a:first");
_EsdDynamicTransformationScript.esd5TagNum2Content1 = $("#provinceBox a:first");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd5TagNum1ContentN = $("#countryBox a:last");
_EsdDynamicTransformationScript.esd5TagNum2ContentN = $("#provinceBox a:last");

//第一块
_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
$(".conFlour3 .tzwj .title ul li:eq(1) a").mouseover();
$(".conFlour3 .tzwj a").last().focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){
$("#countryBox a:eq(4)").focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.mouseover();
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd5TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esd5TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});


}

//首页结束
}






/**
* 共通底部处理
*/


_EsdDynamicTransformationScript.slidePointIntervalThree = setInterval(function () {
if ( $(document.getElementsByTagName('iframe')[0].contentWindow.document).find(".aboutLinkList").find("li:eq(4) a:eq(0)").next().find("a:last")[0] != undefined) {
clearInterval(_EsdDynamicTransformationScript.slidePointIntervalThree);

//友情链接

//友情链接之前的一个a，有的是.content a,有的是.gz_page a，判定一下

if( $(".content a").last() != undefined && $(".content a").last() != "" ){
_EsdDynamicTransformationScript.iframeLastTag = $(".content a").last();
}

if( $(".gz_page a").last() != undefined && $(".gz_page a").last() != "" ){
_EsdDynamicTransformationScript.iframeLastTag = $(".gz_page a").last();
}



//iframe
_EsdDynamicTransformationScript.iframe0 = $(document.getElementsByTagName('iframe')[0].contentWindow.document).find(".aboutLinkList");

if((_EsdDynamicTransformationScript.iframe0 != undefined)&&(_EsdDynamicTransformationScript.iframe0 != "")){

//头
_EsdDynamicTransformationScript.iframe0TagName1 = _EsdDynamicTransformationScript.iframe0.find("li:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagName2 = _EsdDynamicTransformationScript.iframe0.find("li:eq(1) a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagName3 = _EsdDynamicTransformationScript.iframe0.find("li:eq(2) a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagName4 = _EsdDynamicTransformationScript.iframe0.find("li:eq(3) a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagName5 = _EsdDynamicTransformationScript.iframe0.find("li:eq(4) a:eq(0)");

//展示块
_EsdDynamicTransformationScript.iframe0TagBlock1 = _EsdDynamicTransformationScript.iframe0.find("li:eq(0) a:eq(0)").next();
_EsdDynamicTransformationScript.iframe0TagBlock2 = _EsdDynamicTransformationScript.iframe0.find("li:eq(1) a:eq(0)").next();
_EsdDynamicTransformationScript.iframe0TagBlock3 = _EsdDynamicTransformationScript.iframe0.find("li:eq(2) a:eq(0)").next();
_EsdDynamicTransformationScript.iframe0TagBlock4 = _EsdDynamicTransformationScript.iframe0.find("li:eq(3) a:eq(0)").next();
_EsdDynamicTransformationScript.iframe0TagBlock5 = _EsdDynamicTransformationScript.iframe0.find("li:eq(4) a:eq(0)").next();

//展示块的第一个a
_EsdDynamicTransformationScript.iframe0TagAName1 = _EsdDynamicTransformationScript.iframe0.find("li:eq(0) a:eq(0)").next().find("a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagAName2 = _EsdDynamicTransformationScript.iframe0.find("li:eq(1) a:eq(0)").next().find("a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagAName3 = _EsdDynamicTransformationScript.iframe0.find("li:eq(2) a:eq(0)").next().find("a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagAName4 = _EsdDynamicTransformationScript.iframe0.find("li:eq(3) a:eq(0)").next().find("a:eq(0)");
_EsdDynamicTransformationScript.iframe0TagAName5 = _EsdDynamicTransformationScript.iframe0.find("li:eq(4) a:eq(0)").next().find("a:eq(0)");

//展示块的最后一个a
_EsdDynamicTransformationScript.iframe0TagALastName1 = _EsdDynamicTransformationScript.iframe0.find("li:eq(0) a:eq(0)").next().find("a:last");
_EsdDynamicTransformationScript.iframe0TagALastName2 = _EsdDynamicTransformationScript.iframe0.find("li:eq(1) a:eq(0)").next().find("a:last");
_EsdDynamicTransformationScript.iframe0TagALastName3 = _EsdDynamicTransformationScript.iframe0.find("li:eq(2) a:eq(0)").next().find("a:last");
_EsdDynamicTransformationScript.iframe0TagALastName4 = _EsdDynamicTransformationScript.iframe0.find("li:eq(3) a:eq(0)").next().find("a:last");
_EsdDynamicTransformationScript.iframe0TagALastName5 = _EsdDynamicTransformationScript.iframe0.find("li:eq(4) a:eq(0)").next().find("a:last");

//友情链接后面的一个a
_EsdDynamicTransformationScript.iframe0TagLLName = $(".footerText a:eq(0)");

//前一个
_EsdDynamicTransformationScript.iframeLastTag.focus(function(){
$(this).bind("keydown.keydown_iframe0Last",function(e){
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0.focus();
_EsdDynamicTransformationScript.iframe0TagName1.focus();
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"block"});
return false;
}
});
});

_EsdDynamicTransformationScript.iframeLastTag.blur(function(){
$(this).unbind("keydown.keydown_iframe0Last");
});

//第一个的头
_EsdDynamicTransformationScript.iframe0TagName1.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"block"});
$(this).bind("keydown.keydown_i1",function(e){
if(e.shiftKey&&e.keyCode==9){
$(this).unbind("keydown.keydown_i1");
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"none"});
_EsdDynamicTransformationScript.iframeLastTag.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagAName1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagName1.blur(function(){
$(this).unbind("keydown.keydown_i1");
});

//第一个块的第一个a
_EsdDynamicTransformationScript.iframe0TagAName1.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"block"});
$(this).bind("keydown.keydown_f1",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagName1.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.iframe0TagAName1.blur(function(){
$(this).unbind("keydown.keydown_f1");
});

//第一个块的最后一个a
_EsdDynamicTransformationScript.iframe0TagALastName1.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"block"});
$(this).bind("keydown.keydown_l1",function(e){
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagName2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagALastName1.blur(function(){
$(this).unbind("keydown.keydown_l1");
});


//第二个的头
_EsdDynamicTransformationScript.iframe0TagName2.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock2.css({"display":"block"});
$(this).bind("keydown.keydown_i2",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagBlock2.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagBlock1.css({"display":"block"});
_EsdDynamicTransformationScript.iframe0TagALastName1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagAName2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagName2.blur(function(){
$(this).unbind("keydown.keydown_i2");
});

//第二个块的第一个a
_EsdDynamicTransformationScript.iframe0TagAName2.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock2.css({"display":"block"});
$(this).bind("keydown.keydown_f2",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagName2.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.iframe0TagAName2.blur(function(){
$(this).unbind("keydown.keydown_f2");
});

//第二个块的最后一个a
_EsdDynamicTransformationScript.iframe0TagALastName2.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock2.css({"display":"block"});
$(this).bind("keydown.keydown_l2",function(e){
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagBlock2.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagName3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagALastName2.blur(function(){
$(this).unbind("keydown.keydown_l2");
});


//第三个的头
_EsdDynamicTransformationScript.iframe0TagName3.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock3.css({"display":"block"});
$(this).bind("keydown.keydown_i3",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagBlock3.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagBlock2.css({"display":"block"});
_EsdDynamicTransformationScript.iframe0TagALastName2.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagAName3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagName3.blur(function(){
$(this).unbind("keydown.keydown_i3");
});

//第三个块的第一个a
_EsdDynamicTransformationScript.iframe0TagAName3.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock3.css({"display":"block"});
$(this).bind("keydown.keydown_f3",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagName3.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.iframe0TagAName3.blur(function(){
$(this).unbind("keydown.keydown_f3");
});

//第三个块的最后一个a
_EsdDynamicTransformationScript.iframe0TagALastName3.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock3.css({"display":"block"});
$(this).bind("keydown.keydown_l3",function(e){
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagBlock3.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagName4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagALastName3.blur(function(){
$(this).unbind("keydown.keydown_l3");
});


//第四个的头
_EsdDynamicTransformationScript.iframe0TagName4.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock4.css({"display":"block"});
$(this).bind("keydown.keydown_i4",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagBlock4.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagBlock3.css({"display":"block"});
_EsdDynamicTransformationScript.iframe0TagALastName3.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagAName4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagName4.blur(function(){
$(this).unbind("keydown.keydown_i4");
});

//第四个块的第一个a
_EsdDynamicTransformationScript.iframe0TagAName4.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock4.css({"display":"block"});
$(this).bind("keydown.keydown_f4",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagName4.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.iframe0TagAName4.blur(function(){
$(this).unbind("keydown.keydown_f4");
});

//第四个块的最后一个a
_EsdDynamicTransformationScript.iframe0TagALastName4.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock4.css({"display":"block"});
$(this).bind("keydown.keydown_l4",function(e){
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagBlock4.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagName5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagALastName4.blur(function(){
$(this).unbind("keydown.keydown_l4");
});


//第五个的头
_EsdDynamicTransformationScript.iframe0TagName5.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock5.css({"display":"block"});
$(this).bind("keydown.keydown_i5",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagBlock5.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagBlock4.css({"display":"block"});
_EsdDynamicTransformationScript.iframe0TagALastName4.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagAName5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagName5.blur(function(){
$(this).unbind("keydown.keydown_i5");
});

//第五个块的第一个a
_EsdDynamicTransformationScript.iframe0TagAName5.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock5.css({"display":"block"});
$(this).bind("keydown.keydown_f5",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagName5.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.iframe0TagAName5.blur(function(){
$(this).unbind("keydown.keydown_f5");
});

//第五个块的最后一个a
_EsdDynamicTransformationScript.iframe0TagALastName5.focus(function(){
_EsdDynamicTransformationScript.iframe0TagBlock5.css({"display":"block"});
$(this).bind("keydown.keydown_l5",function(e){
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframe0TagBlock5.css({"display":"none"});
_EsdDynamicTransformationScript.iframe0TagLLName.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframe0TagALastName5.blur(function(){
$(this).unbind("keydown.keydown_l5");
});

//友情链接后面的一个a
_EsdDynamicTransformationScript.iframe0TagLLName.focus(function(){
$(this).bind("keydown.keydown_ll0",function(e){
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.iframe0TagBlock5.css({"display":"block"});
_EsdDynamicTransformationScript.iframe0TagALastName5.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.iframe0TagLLName.blur(function(){
$(this).unbind("keydown.keydown_ll0");
});



}



}
}, 500);






/**
* 文本链接 a
*/
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};


if(location.href=="http://mpa.jl.gov.cn/" || location.href=="http://mpa.jl.gov.cn/index.html"){
//首页
//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$(".headerBox").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$(".footer").attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$(".content").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$(".content .conFlour1 .page_slide").addClass("navBlock");
$(".content .conFlour1 .gndt").addClass("navBlock");
$(".content .conFlour2").addClass("navBlock");
$(".content .conFlour3 .tzwj").addClass("navBlock");
$(".content .conFlour3 .zyzcxx").addClass("navBlock");
$(".content .conFlour4").addClass("navBlock");
$(".content .conFlour5").addClass("navBlock");
$(".content .conFlour6 .conFlour6L").addClass("navBlock");
$(".content .conFlour6 .conFlour6R").addClass("navBlock");

_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}


if(location.href=="http://mpa.jl.gov.cn/zxfw_84842/"){
//二级页(导航---资讯服务)
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$(".content .serviceLeft>div").addClass("navBlock");
$(".content .serviceRight>div").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}


if(location.href=="http://mpa.jl.gov.cn/xxgk_84894/"){
//二级页(导航---信息公开)
_EsdDynamicTransformationScript.navBlock.selector.main = ".gz_page";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$("body>.gz_page>.gz_page_left>div").addClass("navBlock");
$("body>.gz_page>.gz_page_right>div").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}

if(location.href=="http://mpa.jl.gov.cn/gzfw/"){
//导航的二级页--公众服务
_EsdDynamicTransformationScript.navBlock.selector.main = ".gz_page";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$(".gz_page > div").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}

if(location.href=="http://mpa.jl.gov.cn/xzxk_85114/"){
//二级页(导航---行政许可)
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$("body>.content>.serviceLeft>div").addClass("navBlock");
$("body>.content>.serviceRight>div").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}


if(location.href=="http://mpa.jl.gov.cn/ztzl_85150/"){
//导航的其它二级页
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$("body>.content>.laderMain>div").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}



//面包屑导航（除首页）
if( $(".CurrChnlCls").length > 0 ){

$(".headerBox").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";

_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$(".footer").attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$("body .content").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

if( $("body>.content>.laderMain .laderLeft").length > 0 ){
$("body>.content>.laderMain .laderLeft").attr("id","left");
$("body>.content>.laderMain .laderRight").attr("id","right");
}
if( $("body .content .wyxxBoxL").length > 0 ){
$("body .content .wyxxBoxL").attr("id","left");
$("body .content .wyxxBoxR").attr("id","right");
}
if( $("body>.content>.serviceLeft").length > 0 ){
$("body>.content>.serviceLeft").attr("id","left");
$("body>.content>.serviceRight").attr("id","right");
}
if( $("body>.gz_page>.gz_page_left").length > 0 ){
$("body>.gz_page>.gz_page_left").attr("id","left");
$("body>.gz_page>.gz_page_right").attr("id","right");
}
_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
$(".listMain").attr("id","content");
_EsdDynamicTransformationScript.navBlock.selector.content = "#content";

//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
_EsdDynamicTransformationScript.navBlock.activateArray = [
"body .content",  "body>.content>.laderMain .laderLeft" ,  "body>.content>.laderMain .laderRight" ,
"body .content .wyxxBoxL" ,  "body .content .wyxxBoxR" ,  "body>.content>.serviceLeft>div" ,  "body>.content>.serviceRight>div" ,
".listMain" ,  "body>.content>.laderMain>div" ,".breadDiv"
]

for(var i=0; i<_EsdDynamicTransformationScript.navBlock.activateArray.length;i++){
$(_EsdDynamicTransformationScript.navBlock.activateArray[i]).addClass("navBlock");
}


//非首页的导航倒切处理
$("body .content a:first").focus(function (e) {
$(this).bind("keydown.keydown_navLastA", function (e) {
if(e.shiftKey&&e.keyCode==9){
$("#nav>li:eq(5) .navContent").css({"display":"block"});
$("#nav>li:eq(5) .navContent ul a:last").focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
$("body .content a:first").blur(function () {
$(this).unbind("keydown.keydown_navLastA");
});




}









/**
* 区域导航、调试开关
*/

$(document).bind("keydown.keydown_9001", function(e) {
if (e.shiftKey && e.keyCode == 20) {
$("*").focus(function() {
$(this).css({
"outline" : "2px dashed red"
});
});
$("*").blur(function() {
$(this).css({
"outline" : "0px black"
});
});
}
});

_EsdDynamicTransformationScript.navBlock.debug = true; // 是否是调试模式，调试模式有红边线，非调试模式关闭红边框
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
// 快捷键定义区
//_EsdDynamicTransformationScript.navBlock.key = {};

//_EsdDynamicTransformationScript.navBlock.key.top = "alt+1"; // (top)
//_EsdDynamicTransformationScript.navBlock.key.nav = "alt+2"; // (nav)
//_EsdDynamicTransformationScript.navBlock.key.main = "alt+3"; // (main)
//_EsdDynamicTransformationScript.navBlock.key.content = "alt+4"; // (content)
//_EsdDynamicTransformationScript.navBlock.key.left = "alt+5"; // (left)
//_EsdDynamicTransformationScript.navBlock.key.right = "alt+6"; // (right)
//_EsdDynamicTransformationScript.navBlock.key.footer = "alt+7"; // (footer)
//_EsdDynamicTransformationScript.navBlock.key.down = "alt+8"; // (down)
//_EsdDynamicTransformationScript.navBlock.key.up = "alt+9"; // (up);

// 以下变量主要用于区块跳转
_EsdDynamicTransformationScript.navBlock.sIndex = -1; // 当前栏目下标
_EsdDynamicTransformationScript.navBlock.maxIndex = -1; // 保存目前所有class="navBlock"的区域块总数量，栏目总量下标。
_EsdDynamicTransformationScript.navBlock.minIndex = 0; // 栏目数量起始下标

// 主要代码区域

// 导航跳转
_EsdDynamicTransformationScript.navBlock.keyShowSelect = function(i) {
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, el) {
if (i == index) {
_EsdDynamicTransformationScript.navBlock.debugView(el);
$(el).find("a").each(function(i, e) {
if (i == 0) {
$(e).focus();
}
});

}
});
}

// 获取所有class=navBlock的区域的总数量，初始化轮训所有需要跳转的块
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, ehx) {
_EsdDynamicTransformationScript.navBlock.maxIndex++;
});



// 快捷键功能区域
// 跳转到头部alt+1(49)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 49) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.top);
}

});
// 跳转到导航alt+2(50)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 50) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.nav);
}

});
// 跳转到主要区域alt+3(51)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 51) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.main);
}
});

// 跳转到正文区域alt+4(52)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 52) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.content);
}
});

// 跳转到左区域alt+5(53)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 53) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.left);
}
});

// 跳转到右区域alt+6(54)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 54) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.right);
}
});
// 跳转到底部alt+7(55)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 55) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.footer);
}
});
//前进alt+8(56)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 56) {
if (_EsdDynamicTransformationScript.navBlock.sIndex < _EsdDynamicTransformationScript.navBlock.maxIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex++;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});

// 后退alt+9(57)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 57) {
if (_EsdDynamicTransformationScript.navBlock.sIndex > _EsdDynamicTransformationScript.navBlock.minIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex--;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});
// 特定区域跳转
_EsdDynamicTransformationScript.navBlock.keySelectScroll = function(id) {
if ($(id).length > 0) {
_EsdDynamicTransformationScript.navBlock.appendIns(id,true);//插入ins
_EsdDynamicTransformationScript.navBlock.debugView(id);
$(id).find("a").each(function(index) {
if (index == 0) {
$(this).focus();
}
});
_EsdDynamicTransformationScript.navBlock.appendIns(id,false);//清楚ins
} else {
}

}
//为了解决漂浮高等于0的情况下区域显示是一条线
_EsdDynamicTransformationScript.navBlock.appendIns=function(id,b){
if(b==true){
$(id).append("<ins id='esdNavBlockIns' style='clear: both;display: block;'></ins>")
}else{
$("#esdNavBlockIns").remove();
}
}

if (_EsdDynamicTransformationScript.navBlock.debug == true) {
// 如果开启调试模式，添加调试绘制矩形边线
$("body").append("<div id='show_top' class='lineshow'></div>");
$("body").append("<div id='show_bottom' class='lineshow'></div>");
$("body").append("<div id='show_left' class='lineshow'></div>");
$("body").append("<div id='show_right' class='lineshow'></div>");
$(".lineshow").css({
"display" : "none"
});
}
// 开启调试模式后会显示红边
_EsdDynamicTransformationScript.navBlock.debugView = function(e) {
if (_EsdDynamicTransformationScript.navBlock.debug == true) {
var x = $(e).offset();
//var w = parseInt($(e).css("width"));
var w = $(e).outerWidth();//返回元素的宽度（包含 padding 和 border）
//var h = parseInt($(e).css("height"));
var h = $(e).outerHeight();//返回元素的高度（包含 padding 和 border）
$("#show_top").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_bottom").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top + h,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_left").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : "0px",
"height" : h
});
$("#show_right").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left + w,
"width" : "0px",
"height" : h
});
$("html,body").animate({
scrollTop : $("#show_top").offset().top
}, 200);
$(".lineshow").css({
"display" : "block"
});
}
}
};
/**
* 主入口方法
*/

if (window.jQuery == undefined) {
var wzaInitInterval = setInterval(function(){
if(document.body!=null){
clearInterval(wzaInitInterval);
//			var originalWindowOnload = null;
//			if(window.onload!=null){
//				originalWindowOnload = window.onload;
//			}
document.body.onload = function(){
//				originalWindowOnload();
var esdJquery = document.createElement("script");
esdJquery.setAttribute("type", "text/javascript");
esdJquery.setAttribute("src", window.location.protocol + "//" + window.location.href.split("/")[2] + "/wza/bwscript/jquery-1.12.4.min.js");
esdJquery.setAttribute("charset", "utf-8");
esdJquery.setAttribute("id", "ESDWebAppInnerIframe");
document.body.appendChild(esdJquery);
var jqueryLoadInterval = setInterval(function () {
if (window.jQuery != undefined) {
clearInterval(jqueryLoadInterval);
//						setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
_EsdDynamicTransformationFunction(jQuery)
}
}, 500);
};
}
}, 10);
} else {
jQuery(function(){
//		setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
_EsdDynamicTransformationFunction(jQuery)
})

}
